import mock from '@/mock'
import data from './data/data'
export default {
  'post|/zzxt/api/getPerEducationSitu': option => {
    const body = JSON.parse(option.body)
    const queryObject = body.params.queryObject
    const { page } = queryObject
    const result = mock.splitPage(Object.assign({ list: data.db_EducationSitu }, page))
    return mock.toResult(result)
  },
  'post|/zzxt/api/getPerEductionCount': option => {
    return mock.toResult(data.db_EducationCount)
  }
}
